\hypertarget{class_q_qt_click_helper}{}\section{Q\+Qt\+Click\+Helper Class Reference}
\label{class_q_qt_click_helper}\index{Q\+Qt\+Click\+Helper@{Q\+Qt\+Click\+Helper}}


{\ttfamily \#include $<$qqtclickhelper.\+h$>$}

Inheritance diagram for Q\+Qt\+Click\+Helper\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=6.000000cm]{class_q_qt_click_helper}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_aa5c0c7a3b731e3c57b2bfd975e9458dc}\label{class_q_qt_click_helper_aa5c0c7a3b731e3c57b2bfd975e9458dc}} 
void {\bfseries click} ()
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_a0e67a9b5c5ec735c763776d4f5f7587a}\label{class_q_qt_click_helper_a0e67a9b5c5ec735c763776d4f5f7587a}} 
void {\bfseries click\+With\+Point} (Q\+Point point)
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_a80f6e56208023174e4c7fcc437800903}\label{class_q_qt_click_helper_a80f6e56208023174e4c7fcc437800903}} 
void {\bfseries click\+With\+PointF} (Q\+PointF point)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_abe97fa3f6cd15bcd7e2191c8f2670f97}\label{class_q_qt_click_helper_abe97fa3f6cd15bcd7e2191c8f2670f97}} 
{\bfseries Q\+Qt\+Click\+Helper} (Q\+Object $\ast$parent=0)
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_a52bdb2aa676186a4af259abaaf659346}\label{class_q_qt_click_helper_a52bdb2aa676186a4af259abaaf659346}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_add356bcf837b60ccb7f6ed5f490df972}\label{class_q_qt_click_helper_add356bcf837b60ccb7f6ed5f490df972}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_ad30847a4e7caec2dfa33efd692dec057}\label{class_q_qt_click_helper_ad30847a4e7caec2dfa33efd692dec057}} 
virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_aac399f6b4cb0266392728385e050aa0e}\label{class_q_qt_click_helper_aac399f6b4cb0266392728385e050aa0e}} 
const quint32 {\bfseries click\+Num} () const
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_aba56f64e8f1d2f517bf605de1e715f31}\label{class_q_qt_click_helper_aba56f64e8f1d2f517bf605de1e715f31}} 
const quint32 {\bfseries click\+Num\+With\+Cancel} () const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \mbox{\hyperlink{class_q_qt_click_helper_ac66c7a5eccddec8d34fc74afd6a266f7}{check\+Click\+Num\+With\+Cancel}} () override
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_ab4f56f1adabf46a5bcffd54a5b63715a}\label{class_q_qt_click_helper_ab4f56f1adabf46a5bcffd54a5b63715a}} 
virtual void {\bfseries check\+Click\+Num} (\mbox{\hyperlink{class_q_qt_virtual_click_helper_ace6c0c9b072e51f2cb3ff1316404b764}{Q\+Qt\+Click\+Type}} type) override
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_a965469fc42763d5f666bafbea08e8b0a}\label{class_q_qt_click_helper_a965469fc42763d5f666bafbea08e8b0a}} 
quint32 {\bfseries n\+Click\+Num}
\item 
\mbox{\Hypertarget{class_q_qt_click_helper_a42e07b924457ee8feabaf92b55c3c0a9}\label{class_q_qt_click_helper_a42e07b924457ee8feabaf92b55c3c0a9}} 
quint32 {\bfseries n\+Click\+Num\+With\+Cancel}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\mbox{\hyperlink{class_q_qt_click_helper}{Q\+Qt\+Click\+Helper}} 这个\+Helper是给\+Widget响应按钮事件用的 主要用于为\+Q\+Qt\+Widget系列添加按钮信号识别帮助

支持 click long\+Click 不支持\+Double\+Click, double\+Click会导致click延时

可以统计按键次数 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_click_helper_ac66c7a5eccddec8d34fc74afd6a266f7}\label{class_q_qt_click_helper_ac66c7a5eccddec8d34fc74afd6a266f7}} 
\index{Q\+Qt\+Click\+Helper@{Q\+Qt\+Click\+Helper}!check\+Click\+Num\+With\+Cancel@{check\+Click\+Num\+With\+Cancel}}
\index{check\+Click\+Num\+With\+Cancel@{check\+Click\+Num\+With\+Cancel}!Q\+Qt\+Click\+Helper@{Q\+Qt\+Click\+Helper}}
\subsubsection{\texorpdfstring{check\+Click\+Num\+With\+Cancel()}{checkClickNumWithCancel()}}
{\footnotesize\ttfamily void Q\+Qt\+Click\+Helper\+::check\+Click\+Num\+With\+Cancel (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

以下用于内部 

Reimplemented from \mbox{\hyperlink{class_q_qt_virtual_click_helper}{Q\+Qt\+Virtual\+Click\+Helper}}.



Reimplemented in \mbox{\hyperlink{class_q_qt_double_click_helper_a42ab28dcfaf01d7e8bf8bb01bd5ca311}{Q\+Qt\+Double\+Click\+Helper}}, and \mbox{\hyperlink{class_q_qt_long_click_helper_a9cc68a8b81d6ffe142509cdb31db78b1}{Q\+Qt\+Long\+Click\+Helper}}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/clickwidgets/qqtclickhelper.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/clickwidgets/qqtclickhelper.\+cpp\end{DoxyCompactItemize}
